package com.tosee.model.allocine;

import java.util.ArrayList;
import java.util.List;

public class AlloSaison extends AlloObject {

    /**
     * Serial ID
     */
    private static final long serialVersionUID = 1L;

    /**
     * Code identifiant allocine
     */
    private Integer code;

    /**
     * Numero de saison
     */
    private Integer numero;

    /**
     * Nb Episodes
     */
    private Integer nbEpisode;

    /**
     * id Serie
     */
    private Integer idSerie;

    /**
     * Annee début
     */
    private String anneeDebut;

    /**
     * Annee fin
     */
    private String anneeFin;

    /**
     * Liste Episode
     */
    private List<AlloEpisode> listeEpisode;

    // Constructeur
    public AlloSaison() {
        listeEpisode = new ArrayList<AlloEpisode>();
    }

    /**
     * @return the code
     */
    public Integer getCode() {
        return code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(Integer code) {
        this.code = code;
    }

    /**
     * @return the numero
     */
    public Integer getNumero() {
        return numero;
    }

    /**
     * @param numero the numero to set
     */
    public void setNumero(Integer numero) {
        this.numero = numero;
    }

    /**
     * @return the nbEpisode
     */
    public Integer getNbEpisode() {
        return nbEpisode;
    }

    /**
     * @param nbEpisode the nbEpisode to set
     */
    public void setNbEpisode(Integer nbEpisode) {
        this.nbEpisode = nbEpisode;
    }

    /**
     * @return the anneeDebut
     */
    public String getAnneeDebut() {
        return anneeDebut;
    }

    /**
     * @param anneeDebut the anneeDebut to set
     */
    public void setAnneeDebut(String anneeDebut) {
        this.anneeDebut = anneeDebut;
    }

    /**
     * @return the anneeFin
     */
    public String getAnneeFin() {
        return anneeFin;
    }

    /**
     * @param anneeFin the anneeFin to set
     */
    public void setAnneeFin(String anneeFin) {
        this.anneeFin = anneeFin;
    }

    /**
     * @return the listeEpisode
     */
    public List<AlloEpisode> getListeEpisode() {
        return listeEpisode;
    }

    /**
     * @param listeEpisode the listeEpisode to set
     */
    public void setListeEpisode(List<AlloEpisode> listeEpisode) {
        this.listeEpisode = listeEpisode;
    }

    /**
     * @return the codeSerie
     */
    public Integer getCodeSerie() {
        return idSerie;
    }

    /**
     * @param codeSerie the codeSerie to set
     */
    public void setCodeSerie(Integer codeSerie) {
        this.idSerie = codeSerie;
    }

    /**
     * @return the idSerie
     */
    public Integer getIdSerie() {
        return idSerie;
    }

    /**
     * @param idSerie the idSerie to set
     */
    public void setIdSerie(Integer idSerie) {
        this.idSerie = idSerie;
    }

}
